/**
 * Created by L on 17/3/1.
 */


//socket服务连接
//var userId = randomNum(10);
//join_server(userId);
var viewProj = app.addView('#demo-menu',{
    dynamicNavbar: true
});
function toPage(){
    viewProj.router.loadPage('demo/pull_refresh');
}
